package com.kunminx.sample.config;

import com.kunminx.architecture.data.config.keyvalue.KeyValueBoolean;
import com.kunminx.architecture.data.config.keyvalue.KeyValueSerializable;
import com.kunminx.architecture.data.config.keyvalue.KeyValueString;
import com.kunminx.keyvalue.annotation.KeyValueX;
import com.kunminx.sample.bean.User;

import java.util.List;

/**
 * TODO tip：groupName 可设置，也可不设置
 *  不设置时默认以接口路径 MD5 值为 groupName
 * <p>
 * Create by KunMinX at 2022/7/19
 */
@KeyValueX(groupName = "MyConfig")
public interface Configs {
  KeyValueBoolean test();
  KeyValueString test1();
  KeyValueSerializable<User> user();
  KeyValueSerializable<List<User>> users();
}
